package wode.utils;
import wode.entity.FightePlane;
import javax.swing.*;
import java.awt.*;
//调用此类来获取图片地址
public class PUtils{
    public  static Image getImage(String url){
        ImageIcon icon=new ImageIcon(PUtils.class.getClassLoader().getResource(url));
        return icon.getImage();
    }
}